package com.vhall.component.entity.room.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: xin.qin
 * @Date: 2022/06/27 19:55
 */
@Data
public class SubmitVODToLiveVO implements Serializable {

    @NotEmpty(message = "room_id参数错误")
    @ParamName(value = "room_id")
    private String roomId;

    @NotEmpty(message = "cmd参数错误")
    @ParamName(value = "cmd")
    private String cmd;

    @NotEmpty(message = "vod_id参数错误")
    @ParamName(value = "vod_id")
    private String vodId;

    @NotNull(message = "loop参数错误")
    @ParamName(value = "loop")
    private Integer loop;

    @ParamName("channel_id")
    private String channelId;
}
